package com.weilan.blog.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.weilan.blog.admin.vo.BlogSubjectVO;
import com.weilan.blog.base.service.SuperService;
import com.weilan.blog.admin.entity.BlogSubject;

import java.util.List;

/**
 * @description: 专题表 服务类
 * @author: 孙 峰
 * @time: 2020/9/27 23:55
 */
public interface BlogSubjectService extends SuperService<BlogSubject> {
    /**
     * 获取专题列表
     *
     * @param blogSubjectVO
     * @return
     */
    public IPage<BlogSubject> getPageList(BlogSubjectVO blogSubjectVO);

    /**
     * 新增专题
     *
     * @param blogSubjectVO
     */
    public String addSubject(BlogSubjectVO blogSubjectVO);

    /**
     * 编辑专题
     *
     * @param blogSubjectVO
     */
    public String editSubject(BlogSubjectVO blogSubjectVO);

    /**
     * 批量删除专题
     *
     * @param blogSubjectVOList
     */
    public String deleteBatchSubject(List<BlogSubjectVO> blogSubjectVOList);
}
